package com.cn.hty.dao;

import org.springframework.stereotype.Repository;

import com.cn.hty.pojo.User;
@Repository
public interface IUserDao {
	void persist(User user);
	
    User load(Long id);
    
    User loadByName(String name);
	
	void merge(User user);
	
	void del(Long id);
}
